package com.cms.common.model.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Transient;

/**
 * 角色权限设置
 */
@Data
@Entity
public class Permission extends BaseEntity{

    private String typeName;
    private String name;
    private String route;//授权目录,如 api/staff/test_get
    private String pluginId = null;
    @Transient
    private boolean isChecked = false;

}
